package com.zsjp.alc.exception;
/**
 * 张师驾培异常类
 * 包含1错误码，2相关数据
 * */
public class ZsjpException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	private String errorCode;
	private Object data;
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "ZsjpException [errorCode=" + errorCode + ", data=" + data + "]";
	}
	public ZsjpException(String errorCode) {
		this.errorCode = errorCode;
	}
	public ZsjpException() {
	}
	
}
